/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   Car.h
 * Author: dou
 *
 * Created on 2016年2月19日, 上午10:12
 */

#ifndef CAR_H
#define CAR_H

#ifdef __cplusplus
extern "C" {
#endif

#include "../../ooc/inc/Object.h"
#include "IMoveable.h"

#define CAR_PKG    OOC_TEST_PKG


OOC_CLASS_DEF_(CAR_PKG, Car) {
    OOC_EXTENDS(OBJECT_PKG, Object);
    OOC_IMPLEMENTS(IMOVEABLE_PKG, IMoveable); // 实现IMoveable接口（车子不是动物，但可以Move）
};



OOC_PEN(CAR_PKG, Car)* OOC_CTOR_NAME_P(CAR_PKG, Car)(void);

#ifdef __cplusplus
}
#endif

#endif /* CAR_H */

